<?php /* Template Name: Contactos */ ?>

<?php get_header(); ?>
<body>
	
	<div id="tudo">
		<div id="topo"><?php include_once TOPO_TEMPLATE; ?></div><!-- Fim div topo -->
		<?php do_vertical_space('20'); ?>
		<div id="corpo">
			<div id="miolo">
				<?php do_vertical_space('15'); 
        while ($wp_query->have_posts()) : $wp_query->the_post();
        $key = get_post_meta($post->ID, 'url', true);
        echo $key;
        echo get_post_meta(get_the_ID(), 'url', true);
        if($key == 'url') { ?>
			<h2 id="post-<?php the_ID(); ?>"><?php the_title();?></h2><br />
			<?php the_content();
        }
        endwhile;  
        ?>
				
			</div><!-- Fim div miolo -->
			<div id="direita">
				<?php dynamic_sidebar( 'Lateral Direita Home' ); ?>
				<?php do_vertical_space('20');?>
			</div><!-- Fim div coluna_direita -->
		</div><!-- Fim div corpo -->
		
<?php do_vertical_space('20'); ?>	

<div class="cont-miolo-pub"><?php add_google_pub_bloco_2x468x60 (); ?></div>
<?php do_vertical_space('20'); ?>		

</div><!-- Fim div tudo -->
<?php get_footer(); ?>

</body>

</html>